import request from '@/api/request'

//数据列表
export function index(params) {
	return request({ url: '/app/Stock/index',method: 'post',data: params})
}



//修改排序开关
export function updateExt(params) {
	return request({ url: '/app/Stock/updateExt',method: 'post',data: params})
}



//添加
export function add(params) {
	return request({ url: '/app/Stock/add',method: 'post',data: params})
}



//修改
export function update(params) {
	return request({ url: '/app/Stock/update',method: 'post',data: params})
}

export function getUpdateInfo(params) {
	return request({ url: '/app/Stock/getUpdateInfo',method: 'post',data: params})
}



//删除
export function del(params) {
	return request({ url: '/app/Stock/delete',method: 'post',data: params})
}



//查看详情
export function detail(params) {
	return request({ url: '/app/Stock/detail',method: 'post',data: params})
}





//后台操作
export function refreshTheStocks(params) {
	return request({ url: '/app/Stock/refreshTheStocks',method: 'post',data: params})
}


//后台操作
export function checkNewStocks(params) {
	return request({ url: '/app/Stock/checkNewStocks',method: 'post',data: params})
}


//后台操作
export function updateStopStocks(params) {
	return request({ url: '/app/Stock/updateStopStocks',method: 'post',data: params})
}
